#include "stdafx.h"
#include "WPDeviceManager.h"
#include "MTPDeviceManager.h"
#include "WPDevice.h"

using namespace System;
using namespace Collections;
using namespace System::Collections::Generic;

int main(int argc, char* argv[])
{
	MTPDeviceManager^ deviceMngr = gcnew MTPDeviceManager();
	List<BaseDevice^>^ devices = deviceMngr->findDevices();

	for each(BaseDevice^ device in devices )
    {
		Console::WriteLine(device->DeviceFriendlyName);
		Console::WriteLine(device->DeviceDescription);
		Console::WriteLine(device->DeviceManufacturer);
		Console::WriteLine("__________________________________________________________________________________________");
		Console::WriteLine();
		//Console::WriteLine(device->DeviceID);

    }

	Console::WriteLine();
	Console::ReadKey();

	return 0;
}
